package com.xiay.stringboot.enums;

/**
 * Created by H-209-FX-XY on 2018/5/9.
 */
public enum  ResultEnum {
    UNKOWN_ERROR(-1,"未知错误"),
    SUCCESS(0,"成功"),
    EMPLOYEE_NOT_ENAME(11,"ename not null");

    private Integer code;

    private String meg;

    ResultEnum(Integer code, String meg) {
        this.code = code;
        this.meg = meg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMeg() {
        return meg;
    }
}
